package com.tl.satoken.domain.entity;

import lombok.Data;
import java.io.Serializable;

@Data
public class Position implements Serializable {
    private static final long serialVersionUID = 1L;
    private float x;
    private float y;
    private float z;
    public Position(final float x, final float y,final float z) {
        this.x = x;
        this.y = y;
        this.z = z;
    }

    public Position() {
    }

    public Position(Position position) {
        if (position != null) {
            this.x = position.getX();
            this.y = position.getY();
            this.z = position.getZ();
        }
    }
}

